/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 * 描述: TODO <br/>
 *
 * @author framework generator
 * @date 2022年02月17日
 * @version 2.0
 */
package com.icinfo.cloud.provider.punish.ucase.punishinform.mapper;

import com.icinfo.cloud.provider.punish.ucase.punishinform.dto.CaseCollectiveDiscussPageRequest;
import com.icinfo.cloud.provider.punish.ucase.punishinform.model.CaseCollectiveDiscuss;
import com.icinfo.cloud.provider.punish.ucase.punishinform.vo.CaseCollectiveDiscussUserVo;
import com.icinfo.cloud.provider.punish.ucase.punishinform.vo.CaseCollectiveDiscussVo;
import com.icinfo.framework.mybatis.mapper.common.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 描述:  case_collective_discuss 对应的Mapper接口.<br>
 *
 * @author framework generator
 * @date 2022年02月17日
 */
public interface CaseCollectiveDiscussMapper extends Mapper<CaseCollectiveDiscuss> {
    /**
     * 查询案件办案人员
     * @param: [caseId, handlePersonType]
     * @return: List<CaseCollectiveDiscussUserVo>
     * @Author: wuzhihui
     * @Date: 2022/12/05
     */
    List<CaseCollectiveDiscussUserVo> getHandlerPersonList(@Param("caseId") String caseId,@Param("handlePersonType") String handlePersonType);
    /**
     * 查询机构角色包含的人员
     * @param: [caseOrgCode, roleName]
     * @return: List<CaseCollectiveDiscussUserVo>
     * @Author: wuzhihui
     * @Date: 2022/12/05
     */
    List<CaseCollectiveDiscussUserVo> getUserByOrgCodeAndRoleNameList(@Param("caseOrgCode")String caseOrgCode, @Param("roleName")String roleName);
    /**
     * 集体议案列表
     * @param: [pageRequest]
     * @return: List<CaseCollectiveDiscussVo>
     * @Author: wuzhihui
     * @Date: 2022/12/08
     */
    List<CaseCollectiveDiscussVo> getCaseCollectiveDiscussList(CaseCollectiveDiscussPageRequest pageRequest);
}